package com.weimengchao.client.fallback;

import com.weimengchao.client.ProviderClient;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: 魏孟超
 * @createDate: 2022-09-26 18:48
 */
@Service
public class ProviderClientFallback implements ProviderClient {

    @Override
    public String hello(String name) {
        // TODO: 2022/9/26 异常处理
        System.out.println("调用接口报错了！！！");
        return null;
    }
}
